package com.example.score.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 【请填写功能名称】对象 t_question_img
 * 
 * @author andy
 * @date 2025-06-16
 */
public class TQuestionImg
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    private String questionUuid;

    /** $column.columnComment */
    private Long examDetailId;

    /** $column.columnComment */
    private String url;

    private Date createTime;

    private Date updateTime;

    /**
     * 图片类型 1题干+选项 2答案+解析
     */
    private Integer type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setQuestionUuid(String questionUuid) 
    {
        this.questionUuid = questionUuid;
    }

    public String getQuestionUuid() 
    {
        return questionUuid;
    }
    public void setExamDetailId(Long examDetailId) 
    {
        this.examDetailId = examDetailId;
    }

    public Long getExamDetailId() 
    {
        return examDetailId;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("questionUuid", getQuestionUuid())
            .append("examDetailId", getExamDetailId())
            .append("url", getUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
